package com.yz.shellsort;

public class SortTools{

    public static boolean bigger(Comparable a,Comparable b){
        return a.compareTo(b)>0;
    }

    public static void exch(Comparable[] a, int i, int j) {
        Comparable temp;
        temp = a[i];
        a[i] = a[j];
        a[j] = temp;
    }


}
